<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>add</title>
    <!--  导入框架css  -->
    <link rel="stylesheet" href="/static/css/bootstrap.css">
</head>
<body>
    <form method="post">
    <div style="margin: 100px">
    <div style="width: 200px; margin: 0 auto">
        <label class="form-label">用户名：</label>
        <input type="text" class="form-control" name="new_username">
    </div>
    <div style="width: 200px; margin: 0 auto">
        <label class="form-label">密码：</label>
        <input type="password" class="form-control" name="new_password">
    </div>
    <div style="width: 200px; margin: 0 auto">
        <label class="form-label">确认密码：</label>
        <input type="password" class="form-control" name="new_password2">
    </div>
    </div>
        <div style="width: 200px; margin: 0 auto">
            <input type="submit" value="注册新用户！">
        </div>
    </form>

    {% for message in get_flashed_messages() %}
        {{ message }}
    {% endfor %}
</body>
</html>